package com.beyondsoft.sabg.edu.repository;

import com.beyondsoft.sabg.edu.model.db.TeacherInfo;
import com.beyondsoft.sabg.edu.repository.core.SimpleRepository;

import java.util.List;
import java.util.Set;

public interface TeacherRepo extends SimpleRepository<TeacherInfo> {
    TeacherInfo findByTeacherNumber(String number);
    Set<TeacherInfo> findByTeacherNumberIn(List<String> numbers);

    List<TeacherInfo> findByTeacherPositionAndTeacherCollegeId(int position, Long collegeId);
}
